package com.intellagric.interfaces.login;


import com.intellagric.common.bean.ResponseMessage;

import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: zhy
 * @Date: 2018/10/6
 * @Description: 登录服务接口
 */
public interface LoginService {

    ResponseMessage login(HttpServletRequest request,String username, String password);

    String getClientIp(HttpServletRequest request);

}
